@extends('layouts.module')
@section('content')
    @include('edu::system.nav')
    <form action="{{route('edu.admin.system.update',$system)}}" method="post">
        @csrf
        @method('put')
        @include('edu::system.form')
    </form>

@endsection

@push('scripts')
    <script>

        window.lessons =@json(old('lessons') ? json_decode(old('lessons')) : $system->lessons)

    </script>
@endpush
